package com.karina.visualization.styles;

import java.util.HashMap;
import java.util.Map;

public class CSSDeclaretions {

	private final Map<String, Object> styles = new HashMap<String, Object>();

	private final String key;

	public CSSDeclaretions(String selector) {
		key = selector;
	}

	public String getName() {
		return key;
	}

	public void setStyle(String style, Object obj) {
		styles.put(style, obj);
	}

	public Object getStyle(String styleName) {
		return styles.get(styleName);
	}

}
